package model

import "time"

type ReconciliationStruct struct {
	Id          int       `json:"id" gorm:"type:int(11) auto_increment; NOT NULL; primary_key"`
	ParkCode    string    `json:"park_code" gorm:"type:varchar(255); COMMENT:'停车场编码'"`
	BasePath    string    `json:"base_path" gorm:"type:varchar(255); "`
	DatePath    string    `json:"date_path" gorm:"type:varchar(255)"`
	FilePath    string    `json:"file_path" gorm:"type:varchar(255)"`
	OutFilePath string    `json:"out_file_path" gorm:"type:varchar(255);  COMMENT:'输出文件路径'"`
	Status      int       `json:"status" gorm:"type:tinyint(1); COMMENT:'状态 0待进行 1进行中 2结束'"`
	Type        int       `json:"type" gorm:"type:tinyint(1); COMMENT:'类型 1小强 2泊安飞'"`
	CreatedAt   time.Time `json:"created_at" gorm:"type:datetime"`
	UpdatedAt   time.Time `json:"updated_at" gorm:"type:datetime"`
}

func (c *ReconciliationStruct) TableName() string {
	return "reconciliation"
}
